package com.example.patient.mapper;

import com.example.patient.dto.resp.IMOrderListResp;
import com.example.patient.dto.resp.RxOrderListResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author wxy
 * @Date 2021/1/26 14:14
 * @Version 1.0
 */
public interface MyOrderMapper {

    List<IMOrderListResp> IMOrderList(@Param("uid") Long uid, @Param("aType") Integer aType);

    Map<String, Object> IMOrderDetailRespDocInfoResp(@Param("doctorId") Long doctorId);

    List<RxOrderListResp> RxOrderList(@Param("uid") Long uid, @Param("orderStatus") Integer orderStatus);

    RxOrderListResp RxOrderDetail(@Param("uid") Long uid, @Param("orderStatus") Integer orderStatus, @Param("rxOrderNo") String rxOrderNo);

    List<Map<String, Object>> RxOrderSettlementRespDrugListResp(@Param("rxOrderNo") String rxOrderNo);
}
